package cn.linjianhui.flink.sample.web.dao.mysql;

import cn.linjianhui.flink.sample.web.dao.SqlProvider.WareSqlProvider;
import cn.linjianhui.flink.sample.web.model.WareDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WareDAO {

    @SelectProvider(type = WareSqlProvider.class, method = "listWare")
    List<WareDO> listWare(@Param(value = "wareSkuCodes")List<String> wareSkuCodes);
}
